<div class="focus">
    <div id="focus_img">
            <div class="nbox">
            <?php 
                $args_huandeng_post=array(
               // 'post__in' => get_option('sticky_posts'),
                'showposts' => 5,  // 显示篇数
				'orderby' => 'rand',   
                );
                $huandeng_post_query = new WP_Query($args_huandeng_post);
                if ($huandeng_post_query->have_posts()) : $i=0; while ($huandeng_post_query->have_posts()) : $i++; $huandeng_post_query->the_post();
            ?>						

	<div class="focus_box">
                    <div class="pbox">
                        <a href="<?php the_permalink() ?>" target="_blank">
                           <?php
                                if( has_post_thumbnail() ){
                                    echo get_the_post_thumbnail( $post->ID, array(150, 150), array('alt'=>$post->post_title) );
                                }else{
                                    echo '<img  style="max-width:200px;max-height:200px;"   src="'.get_post_img( '', 200, 200 ).'" alt="'.$post->post_title .'" />';
                                }
                            ?>
                        </a>							
                    </div>
                    <div class="descs" >
                        <a href="<?php the_permalink() ?>" target="_blank" class="t" style=" " ><?php echo mb_strimwidth(get_the_title(), 0, 50, '…');?> </a>
                        <div class="intro">
                            <?php echo mb_strimwidth(strip_tags(apply_filters('the_content', $post->post_content)), 0, 260,"……"); ?><br>   
                        </div>
                        <p class="rmd_read">来自栏目：<?php the_category(', '); ?> 的推荐<br/></p>
                    </div>
                </div>					

        <?php endwhile; endif; wp_reset_query();?>
        </div>
    </div>
		<?php if($i>0) { ?>
			<div id="focus_links">
				<ul>
				<?php for($n=0;$n<$i;$n++) { ?>
					
					<li <?php if($n==0){ ?>class="act"<?php } ?>><a href="javascript:void(0)"></a></li>
				<?php } ?>
				</ul>
			</div>
		<?php } ?>
</div>
